<template>
    <div id="about-me">
        <div class="center head-img">
            <div></div>
        </div>
        <div class="user-info">
            <div>
                <span>网名：</span>
                <span v-text="userInfo.netName"></span>
            </div>
            <div>
                <span>职业：</span>
                <span v-text="userInfo.profession"></span>
            </div>
            <div>
                <span>籍贯：</span>
                <span v-text="userInfo.nativePlace"></span>
            </div>
            <div>
                <span>邮箱：</span>
                <span v-text="userInfo.mail"></span>
            </div>
        </div>
    </div>
</template>

<script>
    import { userInfoMixins } from 'assets/js/mixins';
    export default {
        mixins: [
            userInfoMixins
        ],
        data () {
            return {
            };
        }
    };
</script>

<style lang="less" scoped>
@import '~assets/styles/variable';
#about-me {
    .head-img {
        height: 100px;
        margin-bottom: 15px;
        &>div{
            width: 100px;
            height: 100px;
            background: url('~assets/images/b04.jpg') no-repeat center/cover;
            border-radius: 50%;
        }
    }
    .user-info{
        font-size: @font-size-medium;
        color: @color-text-g;
        &>div{
            padding-left: 10px;
            line-height: 30px;
            border-radius: 4px;
            background-color: @color-theme-l;
            &:not(:last-of-type){
                margin-bottom: 10px;
            }
        }
    }
}
</style>
